home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / dobsb / may96 / abraf102.gif < prev    next >
Graphics Interchange Format  |  1996-07-30  |  85KB  |  477x482  |  4-bit (16 colors)
Labels: text | screenshot | diagram | line
OCR: Polygon B Spans ×22.1=0, count=0 *= 22. ]=1, count =0 x=21, }=2, count =1 *= 20,}=3, count=2 N=19. ]=4, count =3 *= 19, }=5, count =2 *= 19, y-6, count =0 Polygon A and B Composited Visible Spans A: x=20, y=0, court=0 B: x=22, - 0, count=0 A: >=20, y=1, count =1 B: x=22, }=1, count =0 A: x=19, y=2. count =2 B: x=21, y=2, count =1 A: >=19, y=3. count =1 8: x=20, y=3, count =2 A: x=18, y=4, count =1 B: x=19. y=4, count =3 A: x=18, y=5, count =1 B: x=19.y=5, count =2 A: x=21, y=5. count =1 A: x=17. y=6, count =5 8:x=19.y=6, count =0 A: x=22, y=7, count -0 Figure 2: The spans from polygon A from Figure 1, sorted and clipped with the spans from polygon B, where polygon A is at a constant z distance of 100 and polygon B is at a constant z distance of 50 (B is closer).